import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { setupPlugins } from './plugins'

async function bootstrap() {
  const app = createApp(App)
  // 插件
  setupPlugins(app)
  app.use(router)
  await router.isReady()
  app.mount('#app')
}
bootstrap()
